package com.demo.service;

import com.demo.entity.Flower;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface FlowerService {

    List<Flower> selectAll();
    //姓名
    List<Flower> selectByname(String name);
    //id查
    Flower selectById(int id);
    //id删
    int deleteById(int id);
    //添加
    int insertFlower(Flower flowers);
    //修改
    int updateFlower(Flower flowers);
}
